#include <iostream>
#include <set>
using namespace std;
template<typename T> //T容器内容

void DisplayContent(T& container)
{
    for(auto myiterator = container.cbegin(); myiterator != container.cend(); ++myiterator)
    {
        cout << *myiterator << endl;
    }
};

int main(int argc, char const *argv[])
{
    set<int>setIntegers;
    multiset<int>msetIntegers;
    setIntegers.insert(11);
    setIntegers.insert(33);
    DisplayContent(setIntegers);
    msetIntegers.insert(setIntegers.begin(), setIntegers.end());
    msetIntegers.insert(30000);
    DisplayContent(msetIntegers);
    cout << "numbers of 30000 " << msetIntegers.count(30000) << endl;
    return 0;
}
